package com.jy.rhin.model.body.zhuanzhenjl;

import com.jy.rhin.infra.cda.XPath;
import lombok.Getter;
import lombok.Setter;

/**
 * 转诊建议
 */
@Getter
@Setter
public class ZhuanZhenJY {

    /**
     * 转诊日期
     */
    @XPath(path = "/entry/observation/effectiveTime/@value")
    private String zhuanZhenRQ;

    /**
     * 转诊原因描述
     */
    @XPath(path = "/entry/observation/value/text()")
    private String zhuanZhenYYMS;

    /**
     * 接诊医生姓名
     */
    @XPath(path = "/entry/observation/performer/assignedEntity/assignedPerson/name/text()")
    private String jieZhenYSXM;

    /**
     * 转入机构科室名称
     */
    @XPath(path = "/entry/observation/performer/assignedEntity/representedOrganization/name/text()")
    private String zhuanRuJGKSMC;

    /**
     * 转入医疗机构代码
     */
    @XPath(path = "/entry/observation/performer/assignedEntity/representedOrganization/asOrganizationPartOf/wholeOrganization/id/@extension")
    private String zhuanRuYLJGDM;

    /**
     * 转入医疗机构名称
     */
    @XPath(path = "/entry/observation/performer/assignedEntity/representedOrganization/asOrganizationPartOf/wholeOrganization/name/text()")
    private String zhuanRuYLJGMC;
}
